/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.freedoit.om;

import javax.persistence.Entity;
import javax.persistence.Id;
/**
 *
 * @author wanglei
 */
@Entity
public class SyncKey implements java.io.Serializable {
    @Id
    private Long id;

    private Long clientId;
    
    private Long keyValue;
    
    public static final Long DEFAULT_ID = new Long(1001);
    public static final Long NO_CLIENT_ID = new Long(-1);

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    public Long getKeyValue() {
        return keyValue;
    }

    public void setKey(Long keyValue) {
        this.keyValue = keyValue;
    }
    
}
